<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
    <script src="../js/requestPre.js"></script>
    <script>
        async function post(){
            let res = await axios({
                url: "/api/user/login",
                method: "POST",
                data: {
                    "tel": "123456",
                    "password": "123456"
                }
            })
        }
        post();
        async function get(){
            let res2 = await axios({
                url: "/api/user" ,
                params: {
                    userId: "632197bd8c0fd333f646d17c"
                }
            })
        }
        get();
    </script>
</body>
</html>